package xiaye.crawler.core.impl;

import java.net.URI;

import xiaye.crawler.core.PageStore;
import xiaye.crawler.domain.Page;

public class DbPageStore implements PageStore {
	@Override
	public void storePage(Page page) {
		System.out.println(page.getContent());
		page.persist();
	}

	@Override
	public boolean addressAlreadyExists(URI address) {
		return false;
	}

}
